package com.hemi.rhet;

import java.io.File;

import android.os.Environment;

public class Constants {
	public static final String HTTP_PROTOCOL = "http://";
//	public static final String server_ip = "192.168.1.101";
//	public static final String server_ip = "sharemu.vicp.net";
	
	public static final String server_ip = "ec2-54-251-51-230.ap-southeast-1.compute.amazonaws.com";
	
	public static final String server_port = "8080";
	public static final String app_name = "aiu";
	public static final String file_upload_path = "/fileUpload";
	public static final String FILE_UPLOADER_URL = "/"+app_name+file_upload_path;
	
	public static final String DOMAIN = Constants.HTTP_PROTOCOL+""+Constants.server_ip+":"+Constants.server_port+"/"+Constants.app_name;
	
	public static String getUrl(){
		return "http://"+server_ip+":"+server_port+"/"+app_name;
	}
	public static String getPortUrl(){
		return "http://"+server_ip+":"+server_port;
	}
	
	
	public static final  String SD_CARD_TEMP_DIR = Environment.getExternalStorageDirectory() + File.separator + "IMG.jpg";
	public static final String _COOKIE_KEY="-cookie-";
	
	
	public static final String _POST_GUIDE_KEY_="_POST_GUIDE_KEY_";
	
}
